<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../js/vue.min.js" ></script>
	</head>
	<body>
		<div id="app">
			<p v-for='user in list'>{{user.id}}----{{user.name}}</p>
		</div>
	</body>
	<script>
		var vue=new Vue({
			el:"#app",
			data:{
				list:[
					{id:1,name:'小明1'},
					{id:2,name:'小明2'},
					{id:3,name:'小明3'},
					{id:4,name:'小明4'}
				]
			},
			methods:{
				
			}
		});
	</script>
</html>